package com.bgrconsulting.stockorderentry.service.dao;

import java.util.HashMap;
import java.util.Map;

import com.bgrconsulting.stockorderentry.service.converter.response.AccountBalanceResponseConverter;
import com.bgrconsulting.stockorderentry.service.model.response.AccountBalanceResponse;

public enum AccountBalanceResponseDao {
	instance;
	
    
	private HashMap<String, AccountBalanceResponse> contentProvider = new HashMap<String, AccountBalanceResponse>();
	
	private AccountBalanceResponseDao() {
		
	}
	
	private AccountBalanceResponseDao(AccountBalanceResponse accountBalanceResponse) {
		
		//AccountBalanceResponseConverter accountBalanceResponseConverter = new AccountBalanceResponseConverter(accountBalanceResponse);
	
		contentProvider.put(accountBalanceResponse.getAccount().getAccountId(), accountBalanceResponse);	
	}
	
	public Map<String, AccountBalanceResponse> getModel(){
		return contentProvider;
	}

}
